package com.cn.zmc.design.template.controller;

import com.cn.zmc.design.template.service.impl.TemplateServiceB;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("template")
public class TemplateController {

    @Autowired
    private TemplateServiceB templateServiceB;

    @RequestMapping("test")
    public String test() {
        templateServiceB.invoke();
        return "ok";
    }
}
